Integrand size = 35, antiderivative size = 96 \[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\frac {(a e+c d x) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p \operatorname {Hypergeometric2F1}\left (1,-1+2 p,-1+p,\frac {c d (d+e x)}{c d^2-a e^2}\right )}{\left (c d^2-a e^2\right ) (2-p) (d+e x)^2} \]
(c*d*x+a*e)*(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^p*hypergeom([1, -1+2*p],[-1+ p],c*d*(e*x+d)/(-a*e^2+c*d^2))/(-a*e^2+c*d^2)/(2-p)/(e*x+d)^2
Time = 0.07 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.17 \[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\frac {c^2 d^2 (a e+c d x) \left (\frac {c d (d+e x)}{c d^2-a e^2}\right )^{-p} ((a e+c d x) (d+e x))^p \operatorname {Hypergeometric2F1}\left (3-p,1+p,2+p,\frac {e (a e+c d x)}{-c d^2+a e^2}\right )}{\left (c d^2-a e^2\right )^3 (1+p)} \]
(c^2*d^2*(a*e + c*d*x)*((a*e + c*d*x)*(d + e*x))^p*Hypergeometric2F1[3 - p , 1 + p, 2 + p, (e*(a*e + c*d*x))/(-(c*d^2) + a*e^2)])/((c*d^2 - a*e^2)^3* (1 + p)*((c*d*(d + e*x))/(c*d^2 - a*e^2))^p)
Time = 0.25 (sec) , antiderivative size = 124, normalized size of antiderivative = 1.29, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {1138, 80, 79}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^p}{(d+e x)^3} \, dx\) |
\(\Big \downarrow \) 1138 |
\(\displaystyle \frac {\left (\frac {e x}{d}+1\right )^{-p} (a e+c d x)^{-p} \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^p \int (a e+c d x)^p \left (\frac {e x}{d}+1\right )^{p-3}dx}{d^3}\) |
\(\Big \downarrow \) 80 |
\(\displaystyle \frac {c^3 d^3 (a e+c d x)^{-p} \left (\frac {c d (d+e x)}{c d^2-a e^2}\right )^{-p} \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^p \int (a e+c d x)^p \left (\frac {c d^2}{c d^2-a e^2}+\frac {c e x d}{c d^2-a e^2}\right )^{p-3}dx}{\left (c d^2-a e^2\right )^3}\) |
\(\Big \downarrow \) 79 |
\(\displaystyle \frac {c^2 d^2 (a e+c d x) \left (\frac {c d (d+e x)}{c d^2-a e^2}\right )^{-p} \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^p \operatorname {Hypergeometric2F1}\left (3-p,p+1,p+2,-\frac {e (a e+c d x)}{c d^2-a e^2}\right )}{(p+1) \left (c d^2-a e^2\right )^3}\) |
(c^2*d^2*(a*e + c*d*x)*(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^p*Hypergeom etric2F1[3 - p, 1 + p, 2 + p, -((e*(a*e + c*d*x))/(c*d^2 - a*e^2))])/((c*d ^2 - a*e^2)^3*(1 + p)*((c*d*(d + e*x))/(c*d^2 - a*e^2))^p)
3.21.98.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(( a + b*x)^(m + 1)/(b*(m + 1)*(b/(b*c - a*d))^n))*Hypergeometric2F1[-n, m + 1 , m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m, n}, x] && !IntegerQ[m] && !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] || !(RationalQ[n] && GtQ[-d/(b*c - a*d), 0]))
Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(c + d*x)^FracPart[n]/((b/(b*c - a*d))^IntPart[n]*(b*((c + d*x)/(b*c - a*d))) ^FracPart[n]) Int[(a + b*x)^m*Simp[b*(c/(b*c - a*d)) + b*d*(x/(b*c - a*d) ), x]^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && !IntegerQ[m] && !Integ erQ[n] && (RationalQ[m] || !SimplerQ[n + 1, m + 1])
Int[((d_) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Sy mbol] :> Simp[d^m*((a + b*x + c*x^2)^FracPart[p]/((1 + e*(x/d))^FracPart[p] *(a/d + (c*x)/e)^FracPart[p])) Int[(1 + e*(x/d))^(m + p)*(a/d + (c/e)*x)^ p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && EqQ[c*d^2 - b*d*e + a*e^2, 0] && (IntegerQ[m] || GtQ[d, 0]) && !(IGtQ[m, 0] && (IntegerQ[3*p] || Integer Q[4*p]))
\[\int \frac {{\left (a d e +\left (e^{2} a +c \,d^{2}\right ) x +c d e \,x^{2}\right )}^{p}}{\left (e x +d \right )^{3}}d x\]
\[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\int { \frac {{\left (c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x\right )}^{p}}{{\left (e x + d\right )}^{3}} \,d x } \]
integral((c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)^p/(e^3*x^3 + 3*d*e^2*x^2 + 3*d^2*e*x + d^3), x)
\[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\int \frac {\left (\left (d + e x\right ) \left (a e + c d x\right )\right )^{p}}{\left (d + e x\right )^{3}}\, dx \]
\[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\int { \frac {{\left (c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x\right )}^{p}}{{\left (e x + d\right )}^{3}} \,d x } \]
\[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\int { \frac {{\left (c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x\right )}^{p}}{{\left (e x + d\right )}^{3}} \,d x } \]
Timed out. \[ \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p}{(d+e x)^3} \, dx=\int \frac {{\left (c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e\right )}^p}{{\left (d+e\,x\right )}^3} \,d x \]